<?php

namespace App\Http\Controllers;

use App\Models\Project;
use Illuminate\Http\Request;

class ProjectController extends Controller
{
    public function user(Request $Request) {
        $data = Project::with('users')->find($Request->project_id);
        return response()->json(['code' => '200', 'msg' => '操作成功','data'=>$data->users]);
    }
}
